//
//  HXGoodsItems.m
//  爱鲜蜂
//
//  Created by 建国 on 16/4/9.
//  Copyright © 2016年 建国. All rights reserved.
//

#import "HXGoodsItems.h"

@implementation HXGoodsItems

-(void)goods{

NSString *path = [[NSBundle mainBundle]pathForResource:@"首页新鲜热卖" ofType:nil];
NSData *data = [NSData dataWithContentsOfFile:path];
NSDictionary *josn = [NSJSONSerialization JSONObjectWithData:data options:(NSJSONReadingAllowFragments) error:nil];
//    [josn writeToFile:@"xuyunpeng.plist" atomically:YES];


[josn writeToFile:@"/Users/jianguo/Desktop/love.plist" atomically:YES];
//    NSDictionary *json = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:nil];
//    GoodsData *goodsData = [GoodsData mj_objectWithKeyValues:json];
//    complete(goodsData.data,nil);

}
@end
